From: Florian Müllner Date: Thu, 8 Oct 2020 18:47:18 +0000 (+0200) Subject: polkitAgent: Drop separate user icon style X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~792 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9d5165b1aa5ad11662c9c02cbf161fd7004e3f05;p=gnome-shell.git polkitAgent: Drop separate user icon style It should use the same style as used elsewhere (like the lock screen), so stop using a separate style class to pick up the defaults. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3252 --- diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss b/data/theme/gnome-shell-sass/widgets/_dialogs.scss index fc7792023..0f568b73a 100644 --- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss +++ b/data/theme/gnome-shell-sass/widgets/_dialogs.scss @@ -135,10 +135,6 @@ spacing: 8px; margin-bottom: 6px; - .polkit-dialog-user-icon { - border-radius: 99px; - background-size: contain; - } .polkit-dialog-user-root-label { color: $warning_color; } } diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js index 551596391..ae75f3c00 100644 --- a/js/ui/components/polkitAgent.js +++ b/js/ui/components/polkitAgent.js @@ -65,7 +65,6 @@ var AuthenticationDialog = GObject.registerClass({ this._userAvatar = new UserWidget.Avatar(this._user, { iconSize: DIALOG_ICON_SIZE, - styleClass: 'polkit-dialog-user-icon', }); this._userAvatar.x_align = Clutter.ActorAlign.CENTER; userBox.add_child(this._userAvatar);